package cn.bandeqing.frame.controller;

import cn.bandeqing.base.resp.Resp;
import cn.bandeqing.frame.req.UploadImgReq;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "上传")
@RestController
@RequestMapping("/upload")
public class UploadController {

    @Operation(summary = "图片文件")
    @PostMapping("/imgFile")
    public Resp<Void> imgFile(@Valid UploadImgReq req) {
        return Resp.success();
    }

}
